A new numerical method has been proposed by combining the boundary integral and spectral methods. In this method, similar to the boundary element method, shape functions are used to solve the integral equation. However, for the functions, an orthogonal basis called wavelet functions is used. Combining these two methods, together with the use of wavelet functions, leads to a modified. Through this method, the Poisson equation is solved for the torsion of prismatic bars and the distribution of the normal derivative of stress function is extracted.